Deployments

Learn about Deployments in Kubernetes.

Most of the time you’ll deploy Pods indirectly via a higher-level controller. Examples of higher-level controllers include, Deployments, DaemonSets, and StatefulSets.

svg viewer

For example, a Deployment is a higher-level Kubernetes object that wraps around a particular Pod and adds features such as scaling, zero-downtime updates, and versioned rollbacks.

Behind the scenes, Deployments, DaemonSets and StatefulSets implement a controller and a watch loop that is constantly observing the cluster making sure that current state matches the desired state.

Deployments have existed in Kubernetes since version 1.2 and were promoted to GA (stable) in 1.9. You’ll see them a lot.

Pods

Services and Network Stable Networking